package com.sitech.openapi.domain.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@ApiModel(value = "CardInst", description = "卡实例")
public class CardInst implements Serializable {

    private static final long serialVersionUID = 1L;

    // 营销资源实例的标识，主键
    @ApiModelProperty(value = "营销资源实例标识")
    private BigDecimal mktResInstId;

    // 营销资源实例编码，记录ICCID卡号。
    @ApiModelProperty(value = "营销资源实例编码")
    private String mktResInstNbr;

    // 营销资源规格
    @ApiModelProperty(value = "营销资源标识")
    private BigDecimal mktResId;

    // 营销资源编码
    @ApiModelProperty(value = "营销资源编码")
    private String mktResNbr;

    // 营销资源实例所在仓库id
    @ApiModelProperty(value = "营销资源仓库标识")
    private BigDecimal mktResStoreId;

    // 营销资源类别编码
    @ApiModelProperty(value = "营销资源类别编码")
    private String mktResTypeNbr;

    // 记录本地网标识。
    @ApiModelProperty(value = "本地网标识")
    private Long lanId;

    // dateTime，记录状态变更的时间。
    @ApiModelProperty(value = "状态时间")
    private String statusDate;

    // 记录状态。参见RES-C-0017	营销资源卡实例状态
    @ApiModelProperty(value = "状态")
    private String statusCd;

    // 备注
    @ApiModelProperty(value = "备注")
    private String remark;

    // 引用一组子资源CardInstAttr
    @ApiModelProperty(value = "营销资源卡实例属性")
    private List<CardInstAttr> cardInstAttrs;

    public BigDecimal getMktResInstId() {
        return mktResInstId;
    }

    public void setMktResInstId(BigDecimal mktResInstId) {
        this.mktResInstId = mktResInstId;
    }

    public String getMktResInstNbr() {
        return mktResInstNbr;
    }

    public void setMktResInstNbr(String mktResInstNbr) {
        this.mktResInstNbr = mktResInstNbr;
    }

    public BigDecimal getMktResId() {
        return mktResId;
    }

    public void setMktResId(BigDecimal mktResId) {
        this.mktResId = mktResId;
    }

    public String getMktResNbr() {
        return mktResNbr;
    }

    public void setMktResNbr(String mktResNbr) {
        this.mktResNbr = mktResNbr;
    }

    public BigDecimal getMktResStoreId() {
        return mktResStoreId;
    }

    public void setMktResStoreId(BigDecimal mktResStoreId) {
        this.mktResStoreId = mktResStoreId;
    }

    public String getMktResTypeNbr() {
        return mktResTypeNbr;
    }

    public void setMktResTypeNbr(String mktResTypeNbr) {
        this.mktResTypeNbr = mktResTypeNbr;
    }

    public Long getLanId() {
        return lanId;
    }

    public void setLanId(Long lanId) {
        this.lanId = lanId;
    }

    public String getStatusDate() {
        return statusDate;
    }

    public void setStatusDate(String statusDate) {
        this.statusDate = statusDate;
    }

    public String getStatusCd() {
        return statusCd;
    }

    public void setStatusCd(String statusCd) {
        this.statusCd = statusCd;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public List<CardInstAttr> getCardInstAttrs() {
        return cardInstAttrs;
    }

    public void setCardInstAttrs(List<CardInstAttr> cardInstAttrs) {
        this.cardInstAttrs = cardInstAttrs;
    }

    @Override
    public String toString() {
        return "CardInst{" +
                "mktResInstId=" + mktResInstId +
                ", mktResInstNbr='" + mktResInstNbr + '\'' +
                ", mktResId=" + mktResId +
                ", mktResNbr='" + mktResNbr + '\'' +
                ", mktResStoreId=" + mktResStoreId +
                ", mktResTypeNbr='" + mktResTypeNbr + '\'' +
                ", lanId=" + lanId +
                ", statusDate='" + statusDate + '\'' +
                ", statusCd='" + statusCd + '\'' +
                ", remark='" + remark + '\'' +
                ", cardInstAttrs=" + cardInstAttrs +
                '}';
    }
}
